Configure Design and Migration Best Practices for Segment Routing over IPv6 - Cisco

Skip to content

Skip to search

Skip to footer

Products and Services

Back

Products and Services

Close

Products and Services Home

Save on Cisco products

Future-proof your network with our full-stack offer. Buy more and save up to 25% on eligible Cisco switching, routing, wireless, and software products.

Get started today

Cisco Security free trials

Get started with the right security solution for you. Try out our security solutions before you buy them.

Start a free trial

Discover Cisco IQ

See more, move faster, go farther. Human expertise meets agentic intelligence in every Cisco Services engagement.

Read the blog

Networking

Security

Collaboration

Computing

Observability

Software

Services (CX)

Back

Networking

Close

Products

Switches

Routers

Wireless

Optics and transceivers

Silicon

Networking software

Explore Networking

Use cases

Access networking

Campus and branch networking

Data center and cloud networking

Industrial IoT

Internet, cloud, and endpoint visibility

Network security

Service provider networking

Wide-area networking (WAN)

Unified network management

Manage your entire network from a single, intuitive cloud interface with the Meraki and Catalyst Center Global Overview.

Explore Networking Platform

Back

Security

Close

Featured products

AI Defense

Cisco Duo

Email Threat Defense

Firewall

Hypershield

Identity Services Engine (ISE)

Secure Access (SSE)

Splunk Enterprise Security

XDR

Explore Security

Use cases

Agentic SOC

AI Security

Hybrid Mesh Firewall

Industrial security

Physical security

Secure Access Service Edge (SASE)

Threat intelligence (Talos)

Zero Trust Access

Zero trust for agentic AI

Cisco Secure Access live demo

Join us live to experience Cisco Secure Access—the smarter way to secure access to the internet, SaaS, and private apps.

Choose an upcoming slot

Back

Collaboration

Close

Products

Phones, headsets, and collaboration devices

Webex Customer Experience

Webex Suite

Explore Collaboration

Use cases

Workspaces

Return to the office

Camera intelligence

Workspace management

Devices for Microsoft Teams

Webex AI

Control Hub

Webex Suite

Everything your business needs to collaborate—in the world's first unified, purpose-built suite for hybrid work.

Explore Webex Suite View the Webex site

Back

Computing

Close

Converged infrastructure

Fabric and adapters

Hybrid cloud operations

Hyperconverged infrastructure

Servers

Unified Edge

View all computing products

Cisco Intersight free trial

Get simplified IT operations with infrastructure lifecycle management as a service to easily manage your Cisco UCS, converged, and hyperconverged infrastructure.

Get started Learn more about Intersight

Back

Observability

Close

Products

Cloud application security

Splunk Observability Cloud

Splunk IT Service Intelligence

ThousandEyes

Explore Observability

Use cases

Alert noise reduction

Cloud monitoring optimization

End-user experiences

Microservices troubleshooting

Splunk Observability

Get complete business visibility and real-time troubleshooting across any environment.

Explore Splunk Observability

Back

Software

Close

Networking

Catalyst Center

Catalyst SD-WAN Manager

IoT Operations Dashboard

Meraki Platform

Mobility Services Platform

Nexus Dashboard

All networking software

Security

Cyber Vision

Secure Equipment Access

Security Cloud

Observability

Splunk Observability

ThousandEyes

Collaboration

Webex by Cisco

Computing

Intersight

Explore Cisco buying programs

Download software and manage licenses

View all software

Free trials and demos

View and sign up for over 100 products and portfolio solutions for free.

Explore trials and demos

Back

Services (CX)

Close

Cisco Support

Cisco Professional Services

Learn with Cisco

View all Cisco services

Discover Cisco IQ

See more, move faster, go farther. Human expertise meets agentic intelligence in every Cisco Services engagement.

Read the blog

Get expert guidance

Cisco Services can help you build the right solution for your needs with the combined power of AI, automation, and human expertise.

Transform your data center Build a better workplace

Close

Solutions

Back

Solutions

Close

Solutions Home

Artificial intelligence

Cisco has the infrastructure to power AI, unmatched breadth and scale of data to feed it, and a portfolio optimized to secure it.

Explore Cisco AI

Campus and branch

Cisco brings together Al, automation, and security into one unified architecture—built to simplify operations, scale intelligently, and protect every connection.

Explore campus and branch

Small and medium business

Protect, connect, and empower your business with Cisco's portfolio tailored to small and medium businesses. Experience simplified IT management, efficiency, cloud-driven flexibility, and 24/7 support.

Explore SMB solutions

Artificial Intelligence

Industries

Technologies

Campus and Branch

Service Providers

Small and Medium Business

Back

Artificial Intelligence

Close

AI-enhanced security

AI-native networking operations

AI-ready data centers

AI at the edge

AI networking in data centers

Mass-scale AI infrastructure

Secure AI Factory

Splunk AI

Webex AI

Cisco AI hub

Cisco AI Assistant

Cisco AI Assistant combines the latest generative AI technology with our expertise to responsibly guide and inform the decisions you make every day.

Explore Cisco AI Assistant

Cisco AI Readiness Assessment

AI readiness comprises six pillars: Strategy, Infrastructure, Data, Governance, Talent, and Culture. Is your organization AI ready?

Take assessment Browse AI Readiness Index

Back

Industries

Close

Cities and Communities

Education

Financial Services

Government

Healthcare

Manufacturing

Mining

Oil and Gas

Retail

Smart Buildings

Sports, Media, and Entertainment

Transportation

Utilities

View all industries

Industry design guides

Discover the portfolio explorer

Build the bridge between business outcomes and technology with our new interactive tool.

Start exploring

Back

Technologies

Close

Networking

Cloud and data center networking

Cloud-managed networking (Meraki)

Industrial IoT

Networking App Marketplace

SD-WAN

Smart buildings

All networking solutions

Computing

Converged infrastructure

Hybrid cloud

Hyperconverged

Virtual desktop infrastructure

Security

AI for security

Data center security

Hybrid Mesh Firewall

Industrial security

Network security

Secure Access Service Edge (SASE)

Secure Hybrid Work

Zero trust

Zero trust for agentic AI

Collaboration (Webex)

Camera intelligence

Customer experience

Event management

Intelligent workspaces

Interoperability

IT administration

Remote work

Workspace designer

Workspace management

Back

Campus and Branch

Close

Secure network architecture

Secure campus

Unified branch

Industrial IoT

Campus and branch design guides

Back

Service Providers

Close

Empowering your infrastructure

5G network architecture

Agile Services Networking

Broadband solutions

Cable solutions

Routed optical networking

Routed PON

View all service provider solutions

Managed services

Edge Cloud for Content Delivery

IoT Control Center

Mobility Services Platform

Private 5G

Secure access service edge (SASE)

Software-defined access

Secure Hybrid Work

SD-WAN security

Accelerate services offerings

Provide outsourced IT and consulting services with a broad technology portfolio and robust partner support programs.

See services options

Back

Small and Medium Business

Close

Products and solutions

Networking

Security

Collaboration

Product selector

View all small and medium business solutions

Buy small and medium business products online

Offers and free trials

Find the best solutions for your needs and try them before you buy.

See all offers and free trials

Close

Support

Back

Support

Close

Support Home

Support home

Access documentation, security notices, and support tools for Cisco products.

View Cisco Support

Software downloads

Download and manage new software, get updates or patches, or upgrade your current software to the latest release.

View Software Central

Licensing support

Troubleshoot common licensing issues and leverage easy-to-follow documentation for both PAK-based or Smart Licenses.

Get licensing support

Products and Downloads

Documentation

Contact Support

Licenses and Contracts

Tools and Resources

Cisco Community

Back

Products and Downloads

Close

Find products and downloads

Search field edit, type in text

Clear

Product Support

Switches

Security

Routers

Wireless

Unified Communications

Collaboration endpoints and phones

Networking software (IOS and NX-OS)

Servers - Unified Computing (UCS)

All products

Downloads

Secure Client 5

Identity Services Engine Software

Secure Firewall Management Center Virtual

Smart Software Manager

Jabber for Windows

Modeling Labs

Catalyst 9300 Series Switches

All downloads

Back

Documentation

Close

Technical documentation

Configure, operate, and troubleshoot your Cisco products with configuration guides, installation guides, release notes, and more.

Trust Portal

Get self-service access to security, data privacy, and compliance documents.

Product documentation

Explore Cisco products and features to empower your purchase with data sheets, white papers, end-of-life notices, and more.

Back

Contact Support

Close

Product technical support (TAC)

Open a new case

(Requires a product or software support contract)

Manage support cases

Returns Portal (RMAs)

Enterprise and Service Provider products

1-800-553-2447 US and Canada

Worldwide phone numbers

Small and medium business products

1-866-606-1866 US and Canada

Worldwide phone numbers

Back

Licenses and Contracts

Close

Software licenses

Explore key licensing resources

Download and manage licenses

Manage assets and entitlements

Troubleshoot license issues

Cisco Enterprise Agreement (EA)

Manage Cisco EA licenses

Learn about Cisco EA

Product support contracts

Manage and renew service contracts (CCW-R)

Cisco Licensing Hub

Enhance your Cisco licensing experience.

Access now

Back

Tools and Resources

Close

Tools

Bug Search Tool

My Devices

My Saved Content

Software Research

Device Coverage Checker

All Support tools

Notifications and advisories

My Notifications

Security Advisories

Field Notices

Cisco Cloud Status

Services

All Cisco Services

Technology adoption

Cisco Customer Success

Back

Cisco Community

Close

Community forums

Technology and Support

Small Business Support

Developers

Partners

Project Gallery

Cisco Insider User Group

Explore Cisco Community

Community events and webinars

Learn from Cisco experts and engage with peers in webinars and live events.

View all events and webinars

Close

Learn

Back

Learn

Close

Learn Home

Cisco U.

Access training tailored to your needs. Work toward a specific role or certification, deploy or support a technology solution, or enhance your career progress.

Learn more about Cisco U.

Cisco Networking Academy

If you're a student, start at Cisco Networking Academy. With free courses and career guidance, your next IT job is closer than you think.

Join now

Events

Join us to take advantage of the latest networking opportunities with Cisco customers, partners, employees, and subject-matter experts.

Explore now

Training and Certifications

Events

Webinars

Technology Learning Topics

Learning Resources and Assets

Back

Training and Certifications

Close

Learning

Cisco Networking Academy

Cisco U.

Instructor-led training

Cisco Modeling Labs

Cisco Packet Tracer

Join our community

Learn with Cisco blog

Learn with Cisco overview

Certifications

Career certifications

Learn about exams

Continuing Education (CE credits)

Recertification

Schedule an exam

Track my certifications

Training for organizations

Enterprise

Cisco Learning Credits

Training catalog

Partners

Support

Learn with Cisco support bot

Back

Events

Close

Cisco Live

Partner events calendar

View all events

Cisco Live 2026 Melbourne

Experience the education, inspiration, and fun of Cisco Live 2026 Melbourne.

Register now

Watch Cisco Live sessions on demand

View sessions from Las Vegas in our On-Demand Library. Keynotes, Deep Dives, and Center Stage sessions are available now, with the remaining sessions added by June 19.

Watch now

Back

Webinars

Close

Trending webinars

AI readiness for data centers

Simplify IT with SD-WAN

Security transformation with Cisco XDR

View all webinars

McLaren Racing + Cisco

Carrie Palin joins McLaren Racing F1 team CEO Zak Brown and driver Oscar Piastri as they unveil the high-tech secrets behind their team's successful 2024 season.

Watch on demand

Cisco webinars

Discover insights that shape the future of technology. Our webinars feature experts and leaders sharing how organizations transform to connect, grow, and succeed.

Explore webinars

Back

Technology Learning Topics

Close

How to set up a router

What is cybersecurity?

What is a firewall?

What is Industry 4.0?

What is IoT (Internet of Things)?

What is Wi-Fi 7?

What is AIOps?

What is cloud security?

What is hybrid cloud?

What is SASE?

What is software as a service (SaaS)?

View all technology learning topics

2024 State of Industrial Networking

Cisco's survey of more than 1000 professionals reveals how cybersecurity, IT/OT collaboration, and AI are transforming industrial networks.

Get report

Back

Learning Resources and Assets

Close

Sandboxes and simulators

Cisco Packet Tracer

DevNet Sandbox

Cisco Modeling Labs

Cisco Learning Labs

News and insights

Blogs

Cisco Community

Executive perspectives

Newsroom

Developer resources

Getting started with DevNet

DevNet Tracks

Python training

Code exchange

Developer community

Videos and live streams

Cisco Video Portal

Architecture and design resources

Cisco Validated

Visio stencils

Additional resources

Cisco Learning Credits

Cisco Multicloud training

Black Belt Academy (for partners)

Close

Why Cisco

Back

Why Cisco

Close

Why Cisco

Why Cisco

Cisco creates the infrastructure you need to transform how you connect, protect, and innovate in the AI era.

See the Cisco advantage

Our Purpose

We Power an Inclusive Future for All.

Explore our Purpose Read FY25 Purpose Report

Success stories

Discover how Cisco technologies drive real-world success for our customers and power Cisco's own operations and innovation.

Explore customer stories How we use our technology

Outcomes We Deliver

Working with Partners

About Us

Back

Outcomes We Deliver

Close

AI-ready data centers

Unleash the power of AI with data centers designed for speed, scale, and agility.

Future-proofed workplaces

Elevate employee and customer experiences with agile, resilient workplaces.

Digital resilience

Achieve always-on resilience with trusted security, observability, and assurance.

Why Cisco

Cisco creates the infrastructure you need to transform how you connect, protect, and innovate in the AI era.

See the Cisco advantage

Back

Working with Partners

Close

Why choose Cisco partners

Learn how our partner ecosystem makes it easier than ever to identify the partners to best meet your needs.

Frequently asked questions (PDF)

Access answers to your questions about the evolution of Cisco's partner ecosystem and new partner designations.

Find a partner

Explore our partner ecosystem today.

A new way to find partners

The Cisco Partner Locator tool has been transformed into an AI-driven hub to match, recommend, and activate partners for every customer outcome.

Explore what's new

Back

About Us

Close

Overview

Newsroom

Leadership

Purpose and sustainability

Career opportunities

The Trust Center

Investor relations

Contact us

How to buy

Browse options to purchase Cisco products, services, and software offerings.

Visit how-to-buy hub

Close

Partners

Close

Trials and demos

How to buy

Partners

EN US

Log in

Trials and demos

MENU

CLOSE

How to buy

Partners

Log in

EN US

Search field edit, type in text

Clear Speech-to-Text Search

Speech-to-Text Powered By Google Speech API

We didn't hear that. Try again.

Speech-to-Text Search is currently unavailable

Downloads

Certifications

Cisco Validated

Training

Community

Support

Close

For Partners

Partners Home

Partner Program

Support

Tools

Already a Partner?

Log in

Find a Cisco Partner

Learn about Partners

Become a Cisco Partner

Close

Log in

Don't have an account? Sign up

Close

Back

Country | Language

Close

Selected country/region:

United States

English

All Countries / Regions

North America

Africa

Asia Pacific

Europe

Greater China

Latin America

Middle East

United States
English

English

Africa
English
Français
Português
عربي

English

Français

Português

عربي

Argentina
Español

Español

Australia & New Zealand
English

English

Austria
Deutsch

Deutsch

Belgium & Luxembourg
English
Français
Nederlands

English

Français

Nederlands

Brazil
Português

Português

Canada
English
Français

English

Français

Caribbean
Español

Español

Chile
Español

Español

Colombia
Español

Español

Costa Rica
Español

Español

Czech Republic
Čeština

Čeština

Denmark
Dansk

Dansk

Ecuador
Español

Español

Egypt
English
عربي

English

عربي

France
Français

Français

Germany
Deutsch

Deutsch

Hong Kong
English
繁體中文

English

繁體中文

Hungary
Magyar

Magyar

India
English

English

Indonesia
English

English

Israel
English

English

Italy
Italiano

Italiano

Japan
日本語

日本語

Korea
한국어

한국어

Mainland China
简体中文

简体中文

Malaysia
English

English

Mexico
Español

Español

Middle East
English
عربي

English

عربي

Netherlands
Nederlands

Nederlands

Norway
Norsk

Norsk

Panama
Español

Español

Peru
Español

Español

Philippines
English

English

Poland
Polski

Polski

Portugal
Português

Português

Romania
Română

Română

Singapore
English

English

South Africa
English

English

Spain
Español

Español

Sweden
Svenska

Svenska

Switzerland
Français
Deutsch

Français

Deutsch

Taiwan
繁體中文

繁體中文

Thailand
ภาษาไทย

ภาษาไทย

Turkey
Türkçe

Türkçe

Ukraine
Українська
Русский

Українська

Русский

United Kingdom & Ireland
English

English

Vietnam
Việt

Việt

Canada
English
Français

English

Français

United States
English

English

Africa
English
Français
Português
عربي

English

Français

Português

عربي

Egypt
English
عربي

English

عربي

South Africa
English

English

Australia & New Zealand
English

English

India
English

English

Indonesia
English

English

Japan
日本語

日本語

Korea
한국어

한국어

Malaysia
English

English

Philippines
English

English

Singapore
English

English

Thailand
ภาษาไทย

ภาษาไทย

Vietnam
Việt

Việt

Austria
Deutsch

Deutsch

Belgium & Luxembourg
English
Français
Nederlands

English

Français

Nederlands

Czech Republic
Čeština

Čeština

Denmark
Dansk

Dansk

France
Français

Français

Germany
Deutsch

Deutsch

Hungary
Magyar

Magyar

Israel
English

English

Italy
Italiano

Italiano

Netherlands
Nederlands

Nederlands

Norway
Norsk

Norsk

Poland
Polski

Polski

Portugal
Português

Português

Romania
Română

Română

Spain
Español

Español

Sweden
Svenska

Svenska

Switzerland
Français
Deutsch

Français

Deutsch

Turkey
Türkçe

Türkçe

Ukraine
Українська
Русский

Українська

Русский

United Kingdom & Ireland
English

English

Hong Kong
English
繁體中文

English

繁體中文

Mainland China
简体中文

简体中文

Taiwan
繁體中文

繁體中文

Argentina
Español

Español

Brazil
Português

Português

Caribbean
Español

Español

Chile
Español

Español

Colombia
Español

Español

Costa Rica
Español

Español

Ecuador
Español

Español

Mexico
Español

Español

Panama
Español

Español

Peru
Español

Español

Middle East
English
عربي

English

عربي

Close

Close

Cisco.com Worldwide

Products and Services

Solutions

Support

Learn

Explore Cisco

How to Buy

Partners Home

Partner Program

Support

Tools

Find a Cisco Partner

Meet our Partners

Become a Cisco Partner

Support

Technology Support

IP Version 6 (IPv6)

Troubleshooting TechNotes

Configure Design and Migration Best Practices for Segment Routing over IPv6

Save

Log in to Save Content

Translations

Download

Print

Available Languages

Arabic - عربي

Brazil - Português

Canada - Français

China - 简体中文

China - 繁體中文 (臺灣)

Germany - Deutsch

Italy - Italiano

Japan - 日本語

Korea - 한국어

Latin America - Español

Netherlands - Nederlands

Download Options

PDF (536.4 KB) View with Adobe Reader on a variety of devices

ePub (582.0 KB) View in various apps on iPhone, iPad, Android, Sony Reader, or Windows Phone

Mobi (Kindle) (617.1 KB) View on Kindle device or Kindle app on multiple devices

Updated: June 1, 2023

Document ID: 220485

Bias-Free Language

Bias-Free Language

The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.

Contents

Introduction

Background Information

Why SRv6?

Simplification

Native IPv6 Attribute

Network Programming Capabilities

Traffic Engineering

Resiliency

SRv6 Services

L3VPN

EVPN VPWS

SRv6 Use-Cases

Service Function Chaining

Slicing

Load Balancing

Operations and Performance Management

Design Guidelines and Best Practices

Locator Planning

Loopback Address Planning

Advantages of Loopback Addressing from Locator Block

Prefix Summarization

Quick Comparisonbetween SRv6 and MPLS/SR-MPLS

IP Route Aggregation

End-to-end Service Auto-start

On-Demand Upgrade

SRv6 - High-Level Migration Strategy

Service Migration from MPLS/SR-MPLS

L3VPN

EVPN Multi-homing

SRv6 Interworking Gateway

Migration Approach and Guidelines

Related Information

Introduction

This document describes Segment Routing over IPv6 (SRv6) design guidelines and deployment best practices. It also covers a seamless migration strategy.

Background Information

SRv6 introduces a level of simplification with the use of the IPv6 data plane and the concept of network programming. The SRv6 architecture described in RFC 8986 is based on source routing, SRv6 defines packet processing in the network as a program. Network programming is the capability to encode both a network path and a network function in the header of a packet. The program is expressed as a list of segments included in an SRv6 extension header. Each segment is a 128-bit entity where the first bits identify the router in the network path (the locator part of the segment) and the bits that remain identify the function to be executed by that router.

Segment Routing Architecture Overview

Figure 1 - Segment Routing Architecture Overview

Why SRv6?

IPv6 is the new normal and SRv6 is a new paradigm for logical progression towards SDN and the programmable network. SRv6 was conceived to bridge the gap between SDN and traditional networking. SRv6 provides advanced SRv6 Traffic Engineering (TE) capabilities, transforms the network into a multi-service infrastructure, and Flexible Algorithm (Flex-Algo or FA) capabilities in order to enable multiple optimizations of the same physical network infrastructure along various dimensions.

Simplification

SRv6 eliminates the need to tunnel technologies such as LDP and RSVP-TE through an extension of IGP and simplifies the control plane. It uses an IPv6 address in order to program the end-to-end path instead of the use of an MPLS label on the data plane. SRv6 greatly simplifies network protocols and reduces the complexity of operation and maintenance at the Control plane and data plane levels. It allows the cloud, network, and terminals to implement an end-to-end manageable and controllable solution based on the same standard protocol.

Additionally, because the shortest path segment includes all the ECMP paths to the related node, SR supports the ECMP nature of IP by design.

Native IPv6 Attribute

SRv6 allows a node to steer a packet through the SR domain with the use of an ordered list of segments and instructs how nodes along the path can process the packet. Segments in SRv6 can refer to the instruction to send a packet over the shortest path to a node, over a specific link, or towards an application. SRv6 is source-based routing, path information is encoded in the packet that it must traverse, and intermediate routers do not have to maintain state for all paths. SRv6 empowers to break the boundary between the operator network and the data center network, which greatly enhances the extensibility and deployment flexibility of SRv6.

Network Programming Capabilities

The infrastructure programming capability of SRv6 is a game-changer in the way the network treats applications. The network is no longer merely routing traffic from point A to point B as per some specific constraints expressed by applications (for example, SR traffic engineering). The network can now take actions on the applications along the same path applications are transported over. It makes your applications and your network interact in a completely different, new way.

Traffic Engineering

Leveraging the most advanced SRv6 traffic engineering capabilities, the network can be turned into a multi-service infrastructure. New Flexible Algorithm capabilities make multiple optimizations of the same physical network infrastructure along various dimensions possible (for example, one can be optimized for low latency versus another one for bandwidth, or one can offer disjoint paths via two distinct planes)

Network slicing plays a major role as service providers and enterprises get ready to offer a wide range of 5G services, that have specific and differentiated needs, over a converged infrastructure. As a result, service providers implement top-notch traffic engineering solutions across their network, directly from the cell site and up to the core and data centers, in order to ensure each service gets its own dedicated networking slice with its own set of SLAs.

Resiliency

Resiliency plays a pivotal role in order to ensure the network stays up always so that you can access their services from anywhere at any time. Current IGP routing protocols provide a first level of resiliency by rerouting traffic around failures in the network. But it is not enough. More and more applications need the network to guarantee under 50 ms protection against any kind of network failure. This is exactly what SRv6 TI-LFA (Topology Independent Loop Free Alternate) with Uloop avoidance brings with 100% topology coverage, simplicity. and path optimality.

SRv6 Services

In SRv6-based services, the egress PE signals an SRv6 Service SID with the BGP service route. The ingress PE encapsulates the payload in an outer IPv6 header where the destination address is the SRv6 Service SID advertised by the egress PE. BGP messages between PEs carry SRv6 Service SIDs in order to interconnect PEs and form VPNs. SRv6 Service SID refers to a segment identifier associated with one of the SRv6 service-specific behaviors advertised by the egress PE router, such as:

uDT4 (Endpoint with decapsulation and IPv4 table lookup)

uDT6 (Endpoint with decapsulation and IPv6 table lookup)

uDX4 (Endpoint with decapsulation and IPv4 cross-connect)

uDX6 (Endpoint with decapsulation and IPv6 cross-connect)

These SRv6-based services are supported at the time of writing:

Layer-3 BGP-based services –L3VPN

Layer-2 BGP-based services -EVPN-VPWS

L3VPN

The SRv6-based L3VPN feature enables the deployment of L3VPN over an SRv6 data plane. SRv6-based L3VPN uses SRv6 Segment IDs (SIDs) for service segments instead of labels.

The BGP SID can be allocated in these ways:

Per-VRF mode that provides uDT4 or uDT6 support. uDT4/uDT6 represents the Endpoint with decapsulation and IPv4 or IPv6 table lookup. uDT4 and uDT6 is used for IPv4 L3VPN and IPv6 L3VPN respectively.

Per-CE mode that provides uDX4 and uDX6 cross-connect support. uDX4 represents the Endpoint with decapsulation and IPv4 cross-connect. Similarly, uDX6 represents the Endpoint with decapsulation and IPv6 cross-connect.

EVPN VPWS

EVPN VPWS uses a BGP control plane for point-to-point services. The advantages of VPWS with EVPN are:

Eliminates the need to signal pseudowire services for point-to-point Ethernet services

Multi-homing capabilities like single-active/active-active/port-active

uDX2 SID endpoint behavior is used for EVPN VPWS services.

SRv6 Use-Cases

Service Function Chaining

Service Function Chaining (SFC) enables the creation of composite network services that consists of an ordered set of service functions. SFC denotes the process of forwarding packets through the sequence of Virtual Network Functions (VNFs). SRv6 provides a simple and scalable way to chain service functions for both SR-aware service and SR-unaware service functions (SF). SRv6 is a source routing paradigm that allows you to steer packets through an ordered list of VNFs. SR enables SFC through the allocation of a SID to each SF and the sequencing of these SF SIDs in a SID list. If SF is SRv6 unaware, an SR proxy is needed in front of the SF to route the traffic to that SF.

SFC is one of the essential functions in data centers. Traffic in data centers passes through various functions like firewalls, Intrusion Detection Systems (IDS), Deep Packet Inspection (DPI), and Network Address Translation (NAT) that process packets and thus form a chain of services. Hence the name service function chaining or service chaining.

Slicing

SRv6 helps to create SLA constraints-based slices that start right from the user application all the way through the transport to the central data center. The logical separation with slicing with SRv6 traffic engineering and flexible algorithm helps to provide specific service treatment for latency-sensitive applications with bandwidth optimization. Network slicing plays a major role as service providers and enterprises get ready to offer a wide range of 5G services.

Load Balancing

The SRv6 solution provides day-1 optimum load-balancing contrary to MPLS, which still has issues with load balancing. In MPLS, the entropy for Equal-Cost Multi-Path (ECMP) selection is in the inner IP packet, so the routers must dig down through the MPLS label stack in order to get access to the IP header used for hashing.

In SRv6, the Ingress PE computes a hash on the customer packet and writes the result in the Flow Label field of the added outer IPv6 header. The rest of the network leverages this Flow Label in order to perform ECMP selection with just a look at the outer header with no need to dig down through the layers of encapsulation.

Operations and Performance Management

Path Tracing functionality helps to provide operations and performance management of SRv6 transport with the provision of a record of the packet path as a sequence of interface IDS. In addition, it provides a record of end-to-end delay, per-hop delay, and load on each egress interface along the packet delivery path. Path Tracing allows you to trace 14 hops with only a 40-byte IPv6 Hop-by-Hop extension header.

It supports fine-grained timestamps and has been designed for line rate hardware implementation in the base pipeline.

For more details, refer to SRv6 Technology Basics.

Design Guidelines and Best Practices

Locator Planning

As the name suggests, SRv6 is the segment routing deployed over the IPv6 data plane. Therefore, in order to enable Segment routing over v6, Service provider infrastructure must be enabled first for IPv6. Hence, the first step to deploy SRv6 is to plan the address space for IPv6 deployment. During the planning phase, one of the subnets can be selected for SRv6 locator addresses. In SRv6, a SID represents a 128-bit value, out of which the l ocator is the first part of the service SID with the most significant bits, used for routing to the node which is responsible to perform the function as explained in this section. You can also think of this as a network address.

RFC8986 defines an SRv6 service SID as consisting of three parts:

LOCATOR: This part serves as the reachability information for the node that allocates the SID and is globally known and routable. In an F3216 uSID format, the locator portion is the 48-bit uN.

FUNCTION: This is significant to the owning node only. Designates a specific SRv6 End function. In an F3216 uSID, this is a 16-bit locally scoped uSID.

ARGS: Optional arguments to the function.

SRv6 locator SIDs to a node can be assigned independently from the IPv6 addressing of that node. For an SRv6 network, IPv6 addresses can be planned for infrastructure addresses, management planes, and service addresses for overlay end users. Infrastructure IP addressing and SRv6 SID allocation can belong to two different blocks; for example, infrastructure IPv6 addresses such as network addresses for device interconnections are allocated from an IPv6 address block planned for infrastructure addresses or management plane and SRv6 SIDs are allocated from the block planned for service plane.

Though infrastructure addresses and SIDs are represented as IPv6 addresses, both are recommended to be allocated from different blocks. This way an IPv6 address plan that exists is not a constraint for any current or future SRv6 SID allocation plan.

For the SRv6 uSID carrier, the format is generally specified with the notation 'Fbbuu', where 'bb' is the size of the block and 'uu' is the size of the ID. For example, 'F3216' is a format with a 32-bit uSID block and 16-bit uSID IDs. In order to align with this, the general addressing strategy can comply with a four-tier locator structure: SID Space, uSID Block, Set ID, and Node lD as explained here:

uSID format

Figure 2 - uSID format

The first two tiers are formed from the uSID block:

SID Space: The IPv6 address block is used to allocate the SID locator. All SID Blocks in the network must come from the same 24-bit SID space.

Block ID: Common prefix of a block of uSIDs. Its size depends on the uSID format, which is 8-bit in uSID format

The next two tiers are formed from the uSID ID:

Set IDs: Any group of uSIDs that share a certain value for the first two nibbles of the ID. A 16-bit uSID space contains 256 sets. Each set represents 256 uSID values. A set is uniquely bound to an algorithm.

Node ID: Global node SID, Adjacency SID or IP overlay service SID.

'It is a recommended best practice that SRv6 SIDs for locators are allocated from the private IPv6 Unique Local Address (ULA) address range which starts with FC00:. A sub-range of /24 can be used from IPv6 ULA address space like FC00::/8. The public range for SID space is supported as well, hence, the SID block can be allocated from globally allocated blocks as well. This figure indicates the recommended locator allocation logic that can be used during the planning and design phase. Bits allocation for 'SSNN' under uSID1 can be tweaked as per the requirement by the provider and does not have to end at the 8-bit boundary as shown for Nibble 33-40.

uSID Locator Planning Example

Figure 3 - uSID Locator Planning Example

SID Space: First 24 bits of the uSID constitute the base SID space. As stated, it is recommended to use a private block for the uSID in a deployment.

Block ID: The next 8 bits on the uSID block constitute the block ID which can be split into X and Y where X can denote a slice or a block whereas Y denotes the flex-algo IDs.

Set ID: 8 bits from the uSID ID denote the set ID. Set IDs can be reserved based on geographical area and density.

Node ID: Least significant 8 bits represent node ID. A total of 255 nodes can be assigned with a locator.

For different flex-algorithm, it is recommended to use different locator schemas which can be derived with the method explained.

Loopback Address Planning

In the SRv6 deployment, the loopback address can be allocated from the locator prefix range or independently from the planned infrastructure IPv6 range as well. However, if the loopback address is allocated from the locator prefix range then it is reachable via the locator prefix range announcement itself and does not have to be separately advertised as a /128 prefix between the domains.

For example, if the uSID locator block is BBBB:BB00:0001/48 then the loopback address can be BBBB:BB00:0001::L /128 with L=1-F. IGP ISIS takes care to advertise the locator block so there is no need to advertise the loopback block separately.

Note: Dynamic SIDs do not conflict with SIDs/prefixes that exist, like loopback addresses from the locator block.

Advantages of Loopback Addressing from Locator Block

There are several advantages to allocate loopback addressing from the locator block:

No additional IGP prefixes help in improved scale

No additional FIB entries help in improved Hardware scale

No additional address allocation effort

No additional redistribution/leaking/summarizations which results in lesser operational complexity

Validation of locator reachability with ping is not required

Easier to apply separate security treatment to services traffic (and its ICMP error messages)

BGP NH and SID share fate

When you have the loopbacks IP schema from locator space, it results in SA and DA of services traffic in the SRv6 space as SRv6 applications (like ISIS, BGP) use it in order to allocate SIDs.

The loopback for BGP peering can be carved out from the locator set taken from the services block. With the loopback addresses carved out of the service block with the redistribution of a locator block at the aggregation node or border node, Loopbacks under a locator are reachable via the locator prefix and do not have to be advertised separately as a /128 prefix.

Prefix Summarization

SRv6 prefix summarization is an inherent benefit to IP networks. SRv6 gets rid of all these complexities of MPLS where the advertising /32 prefix was a requirement for the data plane to function. Whereas with SRv6; if you have two metro networks, each with hundreds of thousands of /64 locators (SRv6 capable routers), a single summary route can be advertised into the core by each metro. So, the core only carries the locators of the core nodes and the summary routes of the metro networks. This is an extremely powerful feature in terms of simplicity and scalability.

Locator Summarization

Figure 4 - Locator Summarization

Quick Comparison between SRv6 and MPLS/SR-MPLS

IP Route Aggregation

MPLS/SR-MPLS: Label binding with a 32-bit host address has to be advertised across multiple domains without aggregation. Lack of route summarization has a scalability impact on large-scale Service Providers.

SRv6: Inherit native IP feature and aggregated routed can be imported across network domains which has a significant advantage in terms of simplicity and scalability for the operators.

End-to-end Service Auto-start

SR-MPLS: SRGB and Node SID need overall network-wide planning in the cross-domain scenario.

SRv6: With SRv6, the operator can set up an E2E tunnel directly based on just plain IPv6 reachability. SRv6 support on the transient node is not mandatory, hence, operators have the flexibility to enable SRv6 in a phased manner, whereas, in the case of MPLS, end-to-end MPLS data plane support is required.

On-Demand Upgrade

SR-MPLS: Upgrade the entire network first and then deploy the SR-MPLS, or deploy mapping servers at some of the intermediate nodes.

SRv6: The network can be migrated to SRv6 on demand. As highlighted earlier, the nodes where SRv6 is not enabled or supported can be traversed through normal IPv6 forwarding.

In summary:

MPLS/SR-MPLS: IP reachability is the base. MPLS label advertisement must be done in the whole network.

SRv6: IPv6 reachability is the base. SRv6 can be deployed incrementally, in a phased manner.

SRv6 - High-Level Migration Strategy

High-Level Migration Strategy

Figure 5 - High-Level Migration Strategy

For a smoother migration, it is recommended to proceed with an incremental phase-wise approach. At a high level, this is the incremental deployment approach:

First, configure the IPv6 address for the infrastructure and enable IGP in order to advertise these addresses.

Choose a set of PE devices to be configured with SRv6 and move overlay services in a phased manner.

It is recommended to have a separate BGP route reflector for SRv6 because multiple address families (IPv6, VPNv4, VPNv6, and so on) have to be configured. For the SRv6 enablement, IPv6 must be enabled in the network.

Step 1. Upgrade to IPv6 (IPv6 ready is the pre-condition of SRv6)

Step 2. Upgrade the edge devices in order to introduce VPN over SRv6 PE

Step 3. Upgrade some intermediate nodes in order to support traffic TI-LFA, TE, SFC, and so on

Step 4: Upgrade the whole network in order to support E2E SRv6

Service Migration from MPLS/SR-MPLS

For a smoother migration, it is recommended to proceed with an incremental phase-wise approach. At a high level, this is the incremental deployment approach:

First, configure the IPv6 address for the infrastructure and enable IGP in order to advertise these addresses.

Choose a set of PE devices to be configured with SRv6 and move overlay services in a phased manner.

It is recommended to have a separate BGP route reflector for SRv6. BGP has been enhanced and provided support to extended services over an SRv6 network, such as:

IPv4 Layer-3 VPNs

IPv6 Layer-3 VPNs

IPv4 BGP global

IPv6 BGP global

Layer-2 VPNs - Ethernet VPNs (EVPN)

Based on the messages and procedures defined in the IETF draft ' SRv6 BGP based Overlay services', BGP encodes the SRv6 Service SID in the prefix-SID attribute of the BGP Network Layer Reachability Information (NLRI) that corresponds and advertises it to its IPv6 BGP peers.

L3VPN

The SRv6-based L3VPN feature enables the deployment of L3VPN over an SRv6 data plane. In SRv6-based services, the egress PE signals an SRv6 Service SID with the BGP service route. The ingress PE encapsulates the payload in an outer IPv6 header where the destination address is the SRv6 Service SID advertised by the egress PE. BGP messages between PEs carry SRv6 Service SIDs as a means to interconnect PEs and form VPNs. SRv6 Service SID refers to a segment identifier associated with one of the SRv6 service-specific behaviors advertised by the egress PE router, such as:

uDT4 (Endpoint with decapsulation and IPv4 table lookup)

uDT6 (Endpoint with decapsulation and IPv6 table lookup)

EVPN Multi-homing

This feature provides an ELINE (P2P) service with all-active multihoming capability over an SRv6 network. All-Active Multi-Homing enables an operator in order to connect a customer edge (CE) device to two or more provider edge (PE) devices in order to provide load balancing and redundant connectivity. With All-Active Multi-Homing, all the PEs can forward traffic to and from the multi-homed device. These uSID functions are used:

uDX4 (Endpoint with decapsulation and IPv4 cross-connect)

uDX6 (Endpoint with decapsulation and IPv6 cross-connect)

SRv6 Interworking Gateway

SRv6/MPLS L3 Service Interworking Gateway enables you to extend L3 services between MPLS and SRv6 domains by providing service continuity on the control plane and data plane.

This feature allows for SRv6 L3VPN domains to interwork with the MPLS L3VPN domains that exist. The feature also allows a way to migrate from MPLS L3VPN to SRv6 L3VPN.

The SRv6/MPLS L3 Service Interworking Gateway provides both transport and service termination at the gateway node. The gateway generates both SRv6 VPN SIDs and MPLS VPN labels for all prefixes under the VRF configured for re-origination. The gateway supports traffic forwarding from the MPLS domain to the SRv6 domain by popping the MPLS VPN label, looking up the destination prefix, and pushing the appropriate SRv6 encapsulation. From the SRv6 domain to the MPLS domain, the gateway removes the outer IPv6 header, looks up the destination prefix, and pushes the VPN and next-hop MPLS labels.

VRFs on the gateway node are configured with two sets of route targets (RTs):

MPLS L3VPN RTs

SRv6 L3VPN RTs (called stitching RTs)

The gateway performs these actions:

Imports service routes received from one domain (MPLS or SRv6)

Re-advertises exported service routes to the other domain (next-hop-self)

Stitches the service on the data plane (uDT4/H.Encaps.Red ↔ service label)

Migration Approach and Guidelines

Migration from an LDP-based MPLS network or SR-based MPLS network is quite similar. On Day 0, every node in the network runs MPLS, be it LDP or SR based, in the underlying data plane for all the services a Telco Service Provider provides. This is a sample lab topology used in order to explain the phased migration approach.

Day 0 Network State

Figure 6 - Day 0 Network State

In order to enable Segment Routing over IPv6, use the hw-module profile segment-routing srv6 mode micro-segment format f3216 command in XR Configuration mode. This command is applicable only for Cisco IOS XR-based devices.

In order to prepare the network for SRv6 migration, first, an operator must plan for IPv6 enablement in the network. As stated earlier without IPv6, SRv6 cannot be enabled. So with planned IPv6 addresses for infrastructure, IPv6 must be enabled everywhere in the network. In the first phase of the migration, all logical and physical interfaces on the node get an IPv6 address. This is in addition to the IPv4 address (dual-stack approach) that exists. This way all the services continue to run over the data plane that exists.

Once IPv6 addresses are configured in the SP infrastructure on interfaces as well as loopback, IGP must be enabled in order to advertise the IPv6 prefixes in the domain.

Day 1 Network State

Figure 7 - Day 1 Network State

Here are the steps taken for ISIS:

Configure IGP-ISIS for IPv6:

IGP is configured in a network for devices within the network in order to reach each other. You must configure IS-IS for the IPv6 address family.

ISIS IPv6 Address-family enablement can be done in a phased manner. Once the devices have reachability over IPv6, you must proceed with BGP.

On day 2, as a next step for SRv6 enablement, it is recommended to have a separate set of BGP Route-reflector and these route-reflectors are for multiple address families (IPv6, VPNv4, VPNv6, and so on). This way the route reflector that exists is not disturbed. Note that all Telco Services run on the MPLS data plane that exists at this stage.

Day 2 Network State

Figure 8 - Day 2 Network State

This configuration snippet highlights BGP configuration.

Configure BGP for IPV6:

Configure BGP for the IPv6 address family.

A local preference of 50 in BGP is added as currently. You want the routes via MPLS RR to be preferred so the services run fine.

Now for the SRv6 migration, you can take a very safe incremental approach and start with just two PEs.

Then, the SRv6 locator under segment routing must be considered and this must be advertised via IGP and BGP for services.

Day 3 Network State

Figure 9 - Day 3 Network State

Configure SRv6:

This section describes how to configure SRv6.

You can change the local preference for the routes that come from SRv6 RR and make them preferred VPN routes. This way just between these two PEs, L3VPN VRF traffic flows over SRv6.

Slowly, other PEs and services can be migrated with a similar approach. Once all the PEs are migrated to SRv6, the IPv4 MPLS RR and the associated configuration can be taken down from the network.

Related Information

Segment Routing Configuration Guide for ASR9k

Segment Routing Configuration Guide for NCS5k

Segment Routing v6 (SRv6) Transport on NCS5500/NCS500 Platforms - Part 1

Technical Support & Documentation - Cisco Systems

Revision History

Revision

Publish Date

Comments

1.0

01-Jun-2023

Initial Release

Back to Top Back to Top

Contributed by Cisco Engineers

Ramakrishnan Shanmugasundaram Customer Delivery Architect

Sunil Pareek Customer Delivery Architect

Satya Priyo Dhar Customer Delivery Architect

Was this Document Helpful?

Yes No

[ Feedback](javascript: void(0);)

Customers Also Viewed

Understand the IPv6 Link-Local Address

Implement Static Routes for IPv6 Configuration Example

Link LSA (LSA Type 8) and Intra-Area-Prefix (LSA Type 9)

Troubleshoot IPv6 Dynamic Address Assignment with Cisco Router and Microsoft Windows PC

Show 1 More

Contact Cisco

Open a Support Case

(Requires a Cisco Service Contract)

Quick Links

About Cisco

Contact Us

Careers

Connect with a partner

Resources and Legal

Feedback

Help

Terms & Conditions

Privacy

Cookies / Do not sell or share my personal data

Accessibility

Trademarks

Supply Chain Transparency

Newsroom

Sitemap

© 2026 Cisco Systems, Inc.

By continuing to use our website, you acknowledge the use of cookies.

Privacy Statement Change Settings

Consent Manager

Your opt out preference signal is honored.

Consent Manager

Your Privacy

Your Privacy

When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. From the list on left, please choose whether this site may use Performance and/or Targeting Cookies. By selecting Strictly Necessary Cookies only, you are requesting Cisco not to sell or share your personal data. Note, blocking some types of cookies may impact your experience on the site and the services we are able to offer.

Strictly Necessary Cookies

Strictly Necessary Cookies

Always Active These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information. Cookies Details

Performance Cookies

Performance Cookies

[x] Performance Cookies These cookies provide metrics related to the performance and usability of our site. They are primarily focused on gathering information about how you interact with our site, including: page load times, response times, error messages, and allowing a replay of a visitor's interactions with our site, which enables us to review and analyze visitor behavior, helping to improve site usability and functionality. These cookies also allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. If you do not allow these cookies we will not know when you have visited our site and will not be able to monitor its performance. Cookies Details

Targeting Cookies

Targeting Cookies

[x] Targeting Cookies These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising. Cookies Details

Functional Cookies

Functional Cookies

[x] Functional Cookies These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly. Cookies Details

Cookie List

Consent Leg.Interest [-]

checkbox label label [-]

checkbox label label [-]

checkbox label label

Clear

[-] checkbox label label

Apply Cancel

Save Settings

Allow All